package com.jet.rtdb.elasticsearch.eneity;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @Author: zhangkaifeng.
 * @CreateTime: 2017/8/15 9:16
 * @Description:
 */


public class Electric implements Serializable{

    private static final long serialVersionUID = 7639573374219254379L;

    private String pointId;

    private Double value;

    private Timestamp dateTime;

    public Electric() {
        super();
    }

    public Electric(String pointId, Double value, Timestamp dateTime) {
        this.pointId = pointId;
        this.value = value;
        this.dateTime = dateTime;
    }

    @Override
    public String toString() {
        return "Electric{" +
                "pointId='" + pointId + '\'' +
                ", value=" + value +
                ", dateTime=" + dateTime +
                '}';
    }

    public String getPointId() {
        return pointId;
    }

    public void setPointId(String pointId) {
        this.pointId = pointId;
    }

    public Double getValue() {
        return value;
    }

    public void setValue(Double value) {
        this.value = value;
    }

    public Timestamp getDateTime() {
        return dateTime;
    }

    public void setDateTime(Timestamp dateTime) {
        this.dateTime = dateTime;
    }
}
